# created by cmake version @CMAKE_VERSION@ for LAMMPS version @PROJECT_VERSION@

include(CMakeFindDependencyMacro)
if(@BUILD_MPI@)
  find_dependency(MPI REQUIRED CXX)
endif()
if(@BUILD_OMP@)
  find_dependency(OpenMP REQUIRED CXX)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/LAMMPS_Targets.cmake")
add_library(LAMMPS::LAMMPS ALIAS LAMMPS::lammps)

get_target_property(LAMMPS_CONFIG LAMMPS::lammps IMPORTED_CONFIGURATIONS)
get_target_property(LAMMPS_LIBRARY LAMMPS::lammps IMPORTED_LOCATION_${LAMMPS_CONFIG})
get_target_property(LAMMPS_INCLUDE_DIR LAMMPS::lammps INTERFACE_INCLUDE_DIRECTORIES)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LAMMPS
  REQUIRED_VARS LAMMPS_LIBRARY LAMMPS_INCLUDE_DIR
  VERSION_VAR PACKAGE_VERSION
  HANDLE_VERSION_RANGE
)
